package com.It;

public class Array {
    public static void main(String[] args) {
        int[] arr = {21,64,35,79,56};
        int max = arr[0];
        for(int a = 1;a < arr.length;a++)
        {
            if(max<arr[a])
                max = arr[a];
        }
        System.out.println(max);
    }
}
